Skip to content

Conversation

filintod
Copy link

@filintod filintod commented Aug 20, 2025

Adds capability to run asyncio code as part of the deterministic path. This allows users code that have been developed without using deterministic workflow context.

This is different to #17 that is targeting the client api surface, so there is no real overlap.


### Configuration

The SDK connects to a Durable Task sidecar. By default it uses `localhost:4001`. You can override via environment variables (checked in order):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is actually only in tests

Signed-off-by: Filinto Duran <[email protected]>
@filintod filintod changed the title add asyncio processing compatibility allow asyncio in workflow deterministic path processing Sep 29, 2025
…able, some cleanup on duplicated files, refactor aio

Signed-off-by: Filinto Duran <[email protected]>
Signed-off-by: Filinto Duran <[email protected]>
Signed-off-by: Filinto Duran <[email protected]>
Change variable name from 'eventType' to 'event_type' in the unknown event
handler to avoid UnboundLocalError when an unhandled event type is encountered.

This bug was triggered when Dapr 1.16 introduced new event types or workflows
that our code doesn't handle, causing the code to fall through to the else
branch where the variable scoping issue manifested.

The fix ensures proper error reporting for unknown event types without
encountering a Python scoping error.
refactor: clean up debug print statements and improve code formatting

Removed unnecessary debug print statements from the TaskHubGrpcClient class to streamline the code and enhance readability. Additionally, adjusted formatting in various files for consistency, including property definitions and string formatting. This update aims to improve code maintainability and clarity.

Signed-off-by: Filinto Duran <[email protected]>
Signed-off-by: Filinto Duran <[email protected]>
Signed-off-by: Filinto Duran <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant